/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.ufpb.halloc.dados;

/**
 *
 * @author kawe
 */
public class ProjetoDAOBDFactory extends ProjetoDAOFactory{
    
    
    private static final int PGSQL = 1;
    
    private static ProjetoDAOBDFactory daoProjetoDAOBDFactory;
    
    
    public ProjetoDAOBDFactory(){
        
    }
    
    //Singleton
    public static ProjetoDAOBDFactory getInstance(){
        
        if(daoProjetoDAOBDFactory == null){
            return new ProjetoDAOBDFactory();
        }else{
            return daoProjetoDAOBDFactory;
        }
        
    }
    
    public ProjetoDAO getProjetoDAO(int tipo){
        
        switch(tipo){
            
            case 1: ProjetoDAOPostgreSQL.getInstance();
            
            default: return null;
        }
        
    }
}
